﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace OA.Service.Model
{
    /// <summary>
    /// 用户登陆
    /// </summary>
    [XmlRoot(XmlRootName)]
    public class LoginValidateRequest : BaseReqeust<LoginResponse>
    {
        public LoginValidateRequest()
            : base("LoginValidate")
        {
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码(32位大写MD5)
        /// </summary>
        public string PassWord { get; set; }
    }

    [XmlRoot(XmlRootName)]
    public class LoginResponse : BaseResponse
    {
        /// <summary>
        /// 用户
        /// </summary>
        public Data.User User { get; set; }

    }
}